.fast-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, sans-serif;
}

.fast-layer-rtl {
  direction: rtl;
}

.fast-layer-shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.fast-layer-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 260px;
  min-height: 150px;
  max-width: 90%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.fast-layer-main.dragging {
  transition: none;
  cursor: move;
}

.fast-layer-title {
  padding: 16px 48px 16px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #eee;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default;
}

.fast-layer-title-text {
  flex: 1;
}

.fast-layer-title-btns {
  display: flex;
  gap: 8px;
  margin-right: 35px;
}

.fast-layer-min,
.fast-layer-max {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.fast-layer-min:hover,
.fast-layer-max:hover {
  opacity: 1;
}

.fast-layer-min::before {
  content: '';
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 12px;
  height: 2px;
  background: #666;
}

.fast-layer-max::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid #666;
  box-sizing: border-box;
}

.fast-layer-maxed::before {
  border-width: 1px;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
}

.fast-layer-content {
  padding: 20px;
  line-height: 1.6;
  color: #666;
  word-break: break-word;
  overflow: auto;
  max-height: calc(100vh - 200px);
}

.fast-layer-btn {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid #eee;
}

.fast-btn {
  margin-left: 8px;
  padding: 8px 16px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.fast-btn:hover {
  background: #f5f5f5;
}

.fast-btn-primary {
  color: #fff;
  background: #2d8cf0;
  border-color: #2d8cf0;
}

.fast-btn-primary:hover {
  background: #57a3f3;
  border-color: #57a3f3;
}

.fast-layer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.fast-layer-close::before,
.fast-layer-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #999;
  transform-origin: center;
}

.fast-layer-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fast-layer-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* RTL 支持 */
.fast-layer-rtl {
  direction: rtl;
}

.fast-layer-rtl .fast-layer-title {
  padding: 16px 16px 16px 48px;
}

.fast-layer-rtl .fast-layer-close {
  right: auto;
  left: 16px;
}

.fast-layer-rtl .fast-layer-btn {
  flex-direction: row-reverse;
}

.fast-layer-rtl .fast-btn {
  margin-left: 0;
  margin-right: 8px;
}

.fast-layer-rtl .fast-icon {
  margin-right: 0;
  margin-left: 10px;
}

/* RTL 模式下的标题栏 */
.fast-layer-rtl .fast-layer-title {
  padding: 16px 16px 16px 48px;
}

/* RTL 模式下的关闭按钮 */
.fast-layer-rtl .fast-layer-close {
  right: auto;
  left: 16px;
}

/* RTL 模式下的按钮组 */
.fast-layer-rtl .fast-layer-btn {
  flex-direction: row-reverse;
}

.fast-layer-rtl .fast-btn {
  margin-left: 0;
  margin-right: 8px;
}

/* RTL 模式下的图标 */
.fast-layer-rtl .fast-icon {
  margin-right: 0;
  margin-left: 10px;
}

/* RTL 模式下的最大化/最小化按钮 */
.fast-layer-rtl .fast-layer-title-btns {
  margin-right: 0;
  margin-left: 35px;
}

/* RTL 模式下的调整大小手柄 */
.fast-layer-rtl .fast-layer-resize {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

/* RTL 模式下的消息框 */
.fast-layer-rtl .fast-msg .fast-layer-content {
  text-align: right;
}

/* RTL 模式下的表单验证 */
.fast-layer-rtl [fast-verify] {
  text-align: right;
}

/* RTL 模式下的动画 */
.fast-layer-rtl .fast-anim-slide {
  animation-name: fastSlideRTL;
}

.fast-layer-rtl .fast-msg {
  animation-name: msgFadeInRTL;
}

.fast-layer-rtl .fast-msg.closing {
  animation-name: msgFadeOutRTL;
}

.fast-layer-rtl .fast-msg.shake {
  animation-name: msgShakeRTL;
}

/* RTL 特定动画 */
@keyframes fastSlideRTL {
  from {
    transform: translate(50%, -40%);
    opacity: 0;
  }
  to {
    transform: translate(50%, -50%);
    opacity: 1;
  }
}

@keyframes msgFadeInRTL {
  from {
    opacity: 0;
    transform: translate(50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(50%, -50%);
  }
}

@keyframes msgFadeOutRTL {
  from {
    opacity: 1;
    transform: translate(50%, -50%);
  }
  to {
    opacity: 0;
    transform: translate(50%, calc(-50% - 20px));
  }
}

@keyframes msgShakeRTL {
  0%, 100% {
    transform: translate(50%, -50%);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translate(calc(50% + 5px), -50%);
  }
  20%, 40%, 60%, 80% {
    transform: translate(calc(50% - 5px), -50%);
  }
}

/* 动画效果 */
@keyframes fastFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fastZoomIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.fast-anim-fade {
  animation: fastFadeIn 0.3s ease-out;
}

.fast-anim-zoom {
  animation: fastZoomIn 0.3s ease-out;
}

/* 添加 loading 样式 */
.fast-loading {
    width: 36px;
    height: 36px;
    position: relative;
    margin: 20px auto;
}

/* 默认加载动画 (type=0) */
.fast-loading-0 {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #2d8cf0;
    animation: fastSpin 1s linear infinite;
}

/* 双环加载动画 (type=1) */
.fast-loading-1 {
    border: 4px solid transparent;
    border-radius: 50%;
    border-top: 4px solid #2d8cf0;
    border-bottom: 4px solid #2d8cf0;
    animation: fastSpin 0.8s ease infinite;
}

/* 三点加载动画 (type=2) */
.fast-loading-2::before,
.fast-loading-2::after,
.fast-loading-2 {
    border-radius: 50%;
    width: 8px;
    height: 8px;
    animation: fastBounce 1.4s infinite ease-in-out both;
    background-color: #2d8cf0;
}

.fast-loading-2 {
    position: relative;
    animation-delay: -0.16s;
    margin: 40px auto;
}

.fast-loading-2::before,
.fast-loading-2::after {
    content: '';
    position: absolute;
    top: 0;
}

.fast-loading-2::before {
    left: -20px;
    animation-delay: -0.32s;
}

.fast-loading-2::after {
    left: 20px;
}

/* 动画关键帧 */
@keyframes fastSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fastBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* 加载层容器样式 */
.fast-loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.fast-loading-text {
    color: #666;
    font-size: 14px;
    margin-top: 12px;
    white-space: nowrap;
    line-height: 1.4;
}

/* 为 loading 层添加特殊样式 */
.fast-loading-layer {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 添加更多 loading 样式 */

/* 方块旋转 (type=3) */
.fast-loading-3 {
    width: 40px;
    height: 40px;
    background-color: #2d8cf0;
    animation: fastRotate 1.2s infinite ease-in-out;
}

/* 多点脉冲 (type=4) */
.fast-loading-4 {
    width: 30px;
    height: 30px;
    position: relative;
}

.fast-loading-4 span {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #2d8cf0;
    border-radius: 50%;
    animation: fastPulse 1.2s linear infinite;
}

.fast-loading-4 span:nth-child(1) {
    left: 0;
    animation-delay: 0s;
}

.fast-loading-4 span:nth-child(2) {
    left: 12px;
    animation-delay: 0.2s;
}

.fast-loading-4 span:nth-child(3) {
    left: 24px;
    animation-delay: 0.4s;
}

/* 双圆环 (type=5) */
.fast-loading-5 {
    border: 3px solid #2d8cf0;
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: fastDoubleRing 1s linear infinite;
}

.fast-loading-5::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid transparent;
    border-top-color: #2d8cf0;
    border-bottom-color: #2d8cf0;
    border-radius: 50%;
    animation: fastDoubleRingReverse 0.5s linear infinite;
}

/* 方块环绕 (type=6) */
.fast-loading-6 {
    position: relative;
    width: 40px;
    height: 40px;
}

.fast-loading-6 span {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #2d8cf0;
    animation: fastSquareMove 1.8s infinite ease-in-out both;
}

.fast-loading-6 span:nth-child(1) { left: 0; top: 0; animation-delay: 0s; }
.fast-loading-6 span:nth-child(2) { right: 0; top: 0; animation-delay: 0.4s; }
.fast-loading-6 span:nth-child(3) { right: 0; bottom: 0; animation-delay: 0.8s; }
.fast-loading-6 span:nth-child(4) { left: 0; bottom: 0; animation-delay: 1.2s; }

/* 新增动画关键帧 */
@keyframes fastRotate {
    0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
    50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
    100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}

@keyframes fastPulse {
    0%, 60%, 100% { transform: scale(1); opacity: 1; }
    30% { transform: scale(2); opacity: 0.5; }
}

@keyframes fastDoubleRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fastDoubleRingReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes fastSquareMove {
    0%, 100% { transform: scale(0.5); }
    50% { transform: scale(1); }
}

/* 修改消息框样式 */
.fast-msg {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: auto;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 4px;
    pointer-events: auto;
    max-width: 90vw;
    animation: msgFadeIn 0.3s ease-out;
}

.fast-msg .fast-layer-content {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    text-align: left;
    color: #fff;
    white-space: normal;
    word-break: break-all;
    line-height: 1.4;
}

/* 调整图标样式 */
.fast-msg .fast-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* 消息框容器样式 */
.fast-msg-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 19891015;
}

/* 消息文本样式 */
.fast-msg .fast-layer-content span {
    flex: 1;
    font-size: 14px;
}

/* 图标样式 */
.fast-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.fast-icon-info {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232d8cf0"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
}

.fast-icon-success {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2319be6b"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.fast-icon-error {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ed4014"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.fast-icon-sad {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9900"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"/></svg>');
}

.fast-icon-smile {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2319be6b"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 3c-2.33 0-4.31 1.46-5.11 3.5h10.22c-.8-2.04-2.78-3.5-5.11-3.5z"/></svg>');
}

/* 调整大小手柄 */
.fast-layer-resize {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    cursor: se-resize;
    opacity: 0;
    transition: opacity 0.2s;
}

.fast-layer-resize::before {
    content: '';
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 12px 12px;
    border-color: transparent transparent #666 transparent;
}

.fast-layer-main:hover .fast-layer-resize {
    opacity: 1;
}

/* 最小化状态 */
.fast-layer-main.fast-layer-min {
    width: 300px !important;
    height: auto !important;
    left: 10px !important;
    top: auto !important;
    bottom: 10px !important;
    transform: none !important;
}

.fast-layer-main.fast-layer-min .fast-layer-content,
.fast-layer-main.fast-layer-min .fast-layer-btn {
    display: none;
}

/* 新增动画效果 */
@keyframes fastSlide {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fastFlip {
    from {
        transform: translate(-50%, -50%) perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes fastBounceIn {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fastRotate {
    from {
        transform: translate(-50%, -50%) rotate(-180deg) scale(0);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) rotate(0) scale(1);
        opacity: 1;
    }
}

.fast-anim-slide { animation: fastSlide 0.3s ease-out; }
.fast-anim-flip { animation: fastFlip 0.4s ease-out; }
.fast-anim-bounce { animation: fastBounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.fast-anim-rotate { animation: fastRotate 0.4s ease-out; }

/* 优化最大化状态 */
.fast-layer-main.fast-layer-max {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0;
}

/* 当启用拖拽时的样式 */
.fast-layer-title[data-drag="true"] {
    cursor: move;
}

/* 添加复选框样式 */
#dragSwitch {
    margin-right: 5px;
    vertical-align: middle;
}

/* 优化标签样式 */
label {
    display: inline-flex;
    align-items: center;
    color: #666;
    cursor: pointer;
}

/* 调整选项样式 */
.dialog-options {
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

/* 当启用大小调整时显示手柄 */
.fast-layer-main[data-resize="true"] .fast-layer-resize {
    display: block;
}

/* 优化复选框和标签样式 */
.dialog-options label {
    display: inline-flex;
    align-items: center;
    color: #666;
    cursor: pointer;
}

.dialog-options input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

/* 当鼠标悬停在可调整大小的窗口上时显示手柄 */
.fast-layer-main[data-resize="true"]:hover .fast-layer-resize {
    opacity: 1;
}

/* RTL 模式下的动画方向调整 */
.fast-layer-rtl .fast-anim-slide {
    animation-name: fastSlideRTL;
}

@keyframes fastSlideRTL {
    from {
        transform: translate(50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(50%, -50%);
        opacity: 1;
    }
}

/* 添加消息框动画关键帧 */
@keyframes msgFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 20px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 消息框关闭动画 */
.fast-msg.closing {
    animation: msgFadeOut 0.3s ease-out forwards;
}

@keyframes msgFadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 20px));
    }
}

/* 添加抖动动画 */
@keyframes msgShake {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate(calc(-50% - 5px), -50%);
    }
    20%, 40%, 60%, 80% {
        transform: translate(calc(-50% + 5px), -50%);
    }
}

/* 抖动效果类 */
.fast-msg.shake {
    animation: msgShake 0.6s ease-in-out;
}

/* 表单验证样式 */
[fast-verify] {
    outline: none;
    transition: border-color 0.3s;
}

[fast-verify].fast-error {
    border-color: #ff4d4f;
}

[fast-verify].fast-error:focus {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

/* 深色模式样式 */
.dark .fast-layer-main {
    background: #1f1f1f;
    color: #e1e1e1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark .fast-layer-title {
    color: #e1e1e1;
    border-bottom-color: #333;
}

.dark .fast-layer-content {
    color: #b0b0b0;
}

.dark .fast-layer-btn {
    border-top-color: #333;
}

.dark .fast-btn {
    background: #2a2a2a;
    border-color: #444;
    color: #e1e1e1;
}

.dark .fast-btn:hover {
    background: #363636;
}

.dark .fast-btn-primary {
    background: #2d8cf0;
    border-color: #2d8cf0;
    color: #fff;
}

.dark .fast-btn-primary:hover {
    background: #57a3f3;
    border-color: #57a3f3;
}

.dark .fast-layer-close::before,
.dark .fast-layer-close::after {
    background: #888;
}

.dark .fast-layer-min::before {
    background: #888;
}

.dark .fast-layer-max::before {
    border-color: #888;
}

/* 深色模式下的消息框 */
.dark .fast-msg {
    background-color: rgba(0, 0, 0, 0.85);
    color: #e1e1e1;
}

/* 深色模式下的加载动画 */
.dark .fast-loading-0 {
    border-color: #333;
    border-top-color: #2d8cf0;
}

.dark .fast-loading-1 {
    border-top-color: #2d8cf0;
    border-bottom-color: #2d8cf0;
}

.dark .fast-loading-2,
.dark .fast-loading-2::before,
.dark .fast-loading-2::after {
    background-color: #2d8cf0;
}

/* 深色模式下的表单验证 */
.dark [fast-verify] {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e1e1e1;
}

.dark [fast-verify]:focus {
    border-color: #2d8cf0;
    box-shadow: 0 0 0 2px rgba(45, 140, 240, 0.2);
}

.dark [fast-verify].fast-error {
    border-color: #ff4d4f;
}

.dark [fast-verify].fast-error:focus {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

/* 深色模式下的图标 */
.dark .fast-icon-info {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232d8cf0"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
}

.dark .fast-icon-success {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2319be6b"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.dark .fast-icon-error {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff4d4f"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

/* 深色模式下的遮罩层 */
.dark .fast-layer-shade {
    background-color: rgba(0, 0, 0, 0.45);
}

/* 深色模式下的调整大小手柄 */
.dark .fast-layer-resize::before {
    border-color: transparent transparent #666 transparent;
}

/* 深色模式下的对话框选项 */
.dark .dialog-options {
    background: #2a2a2a;
}

.dark .dialog-options label {
    color: #b0b0b0;
}
